package com.codi.bus.core.vo;

import com.codi.base.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * 模块名
 *
 * @author spy
 * @version 1.0 2018-01-05 17:22
 * @since 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PortfolioSellLimitRequestVo extends BaseDomain {

    @NotBlank
    private String portfolioCode;

    @NotBlank
    private String captialMode;

    @NotNull
    private List<PortfolioFundVo> funds;

    @NotNull
    private BigDecimal totalEnableShares;

    private Long userId;

}
